/**
 * Created by eaTong on 2018/11/29 .
 * Description:
 */

import React from 'react';

import {createStackNavigator, createAppContainer} from 'react-navigation';
import HomeScreen from './src/screens/HomeScreen';
import LoginScreen from './src/screens/LoginScreen';
import EmployeeManage from './src/screens/EmployeeManage';
import AddEmployee from './src/screens/AddEmployee';
import GrantView from './src/screens/GrantView';

const AppContainer = createStackNavigator({
    Home: {screen: HomeScreen},
    Login: {screen: LoginScreen},
    EmployeeManage: {screen: EmployeeManage},
    AddEmployee: {screen: AddEmployee},
    GrantView: {screen: GrantView}
  },
  {
    initialRouteName: "Login"
  });

export default createAppContainer(AppContainer);
